package com.example.siyun.pojo;


import java.util.Date;

/*
* 评论实体
* @author：王浩宇
*@Date: 2022-10-12
* */
public class SyComment {
  //自增主键
  private int id;
  //评论用户id
  private int userId;
  //课程，微圈，商品id
  private int commodityId;
  //类型
  private int type;
  //评论内容
  private String content;
  //父级评论id
  private int parentId;
  //评论时间
  private Date commentDate;
  //是否显示
  private int display;
  //点赞数量
  private int fabulous;
  //回复数量
  private int reply;
  //状态
  private int status;
  //创建人
  private int createId;
  //创建时间
  private Date createDate;
  //更新人
  private int updateId;
  //更新时间
  private Date updateDate;
  //用户类型
  private int userType;
  //商品名称
  private String productName;
  //成员账号
  private String userAccount;
  //用户昵称
  private String userNickname;
  //所属商品
  private String name;

  public int getId() {
    return id;
  }

  public void setId(int id) {
    this.id = id;
  }

  public int getUserId() {
    return userId;
  }

  public void setUserId(int userId) {
    this.userId = userId;
  }

  public int getCommodityId() {
    return commodityId;
  }

  public void setCommodityId(int commodityId) {
    this.commodityId = commodityId;
  }

  public int getType() {
    return type;
  }

  public void setType(int type) {
    this.type = type;
  }

  public String getContent() {
    return content;
  }

  public void setContent(String content) {
    this.content = content;
  }

  public int getParentId() {
    return parentId;
  }

  public void setParentId(int parentId) {
    this.parentId = parentId;
  }

  public Date getCommentDate() {
    return commentDate;
  }

  public void setCommentDate(Date commentDate) {
    this.commentDate = commentDate;
  }

  public int getDisplay() {
    return display;
  }

  public void setDisplay(int display) {
    this.display = display;
  }

  public int getFabulous() {
    return fabulous;
  }

  public void setFabulous(int fabulous) {
    this.fabulous = fabulous;
  }

  public int getReply() {
    return reply;
  }

  public void setReply(int reply) {
    this.reply = reply;
  }

  public int getStatus() {
    return status;
  }

  public void setStatus(int status) {
    this.status = status;
  }

  public int getCreateId() {
    return createId;
  }

  public void setCreateId(int createId) {
    this.createId = createId;
  }

  public Date getCreateDate() {
    return createDate;
  }

  public void setCreateDate(Date createDate) {
    this.createDate = createDate;
  }

  public int getUpdateId() {
    return updateId;
  }

  public void setUpdateId(int updateId) {
    this.updateId = updateId;
  }

  public Date getUpdateDate() {
    return updateDate;
  }

  public void setUpdateDate(Date updateDate) {
    this.updateDate = updateDate;
  }

  public int getUserType() {
    return userType;
  }

  public void setUserType(int userType) {
    this.userType = userType;
  }

  public String getProductName() {
    return productName;
  }

  public void setProductName(String productName) {
    this.productName = productName;
  }

  public String getUserAccount() {
    return userAccount;
  }

  public void setUserAccount(String userAccount) {
    this.userAccount = userAccount;
  }

  public String getUserNickname() {
    return userNickname;
  }

  public void setUserNickname(String userNickname) {
    this.userNickname = userNickname;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }
}
